<h1>New inclusion</h1>

<%= error_messages_for :inclusion %>

<% form_for(:inclusion, :url => inclusions_path) do |f| %>
  <p>
    <b>Card</b><br />
    <%= f.text_field :card_id %>
  </p>

  <p>
    <b>Deck</b><br />
    <%= f.text_field :deck_id %>
  </p>

  <p>
    <%= submit_tag "Create" %>
  </p>
<% end %>

<%= link_to 'Back', inclusions_path %>